package shake.context;

import java.util.HashMap;
import java.util.Map;

import shake.annotation.Component;
import shake.annotation.Install;
import shake.annotation.Unwrap;

import com.google.inject.servlet.RequestScoped;

@RequestScoped
@Install(precedence = Install.BUILD_IN)
@Component
public class PageContext {

	Map<String, Object> map = new HashMap<String, Object>();

	/**
	 * 
	 */
	private static final long serialVersionUID = 8975883220836118791L;

	@Unwrap(name = "pageMap")
	public Map<String, Object> getMap() {
		return map;
	}

	public void setMap(Map<String, Object> map) {
		this.map = map;
	}

}
